package com.sxjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("it_operation_log")
@ApiModel(value="operation_log对象", description="异常流程操作日志表")
public class OperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "派车单号")
    @TableField(value = "order_no")
    private String orderNo;

    @ApiModelProperty(value = "车牌号")
    @TableField(value = "veh_number")
    private String vehNumber;

    @ApiModelProperty(value = "操作接口")
    @TableField(value = "operation_interface")
    private String operationInterface;

    @ApiModelProperty(value = "操作备注")
    @TableField(value = "remark")
    private String remark;

    @ApiModelProperty(value = "创建人id")
    @TableField(value = "created_by")
    private String createdBy;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "created_by_desc")
    private String createdByDesc;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_at")
    private LocalDateTime createdAt;
}
